package com.nb.vo.patient;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel(description = "排班详情")
public class ScheduleDetailVO {

    @ApiModelProperty("时间段信息列表")
    private List<TimeSlot> timeSlots;

    @ApiModelProperty("可预约医生列表")
    private List<Doctor> availableDoctors;

    @Data
    public static class TimeSlot {
        @ApiModelProperty("时间范围")
        private String timeRange;

        @ApiModelProperty("剩余号数")
        private Integer remainingSlots;

        @ApiModelProperty("时间段ID")
        private String slotId;
    }

    @Data
    public static class Doctor {
        @ApiModelProperty("医生ID")
        private String id;

        @ApiModelProperty("医生姓名")
        private String name;

        @ApiModelProperty("医生科室")
        private String department;

        @ApiModelProperty("医生电话")
        private String phone;

        @ApiModelProperty(value = "医生职称")
        private String position;

        @ApiModelProperty("医生头像")
        private String awatarUrl;

        @ApiModelProperty("医生简介片段")
        private String introduce;

        @ApiModelProperty("医生可用的时间段ID列表")
        private String availableSlotIds;

        @ApiModelProperty("挂号费")
        private String fee;
    }
}